home *** CD-ROM | disk | FTP | other *** search
- /*----------------------------------------------------------------------------*\
- * Custom.RUL
- * Sofsource Installation Package: Program-Specific Declarations.
- * Copyright (c) 1995-1996 Sofsource, Inc. All rights reserved.
- * Setup script written by: Bob Falk
- *------------------------------------------------------------------------------
- * Program-specific declarations for: Differential Equations
- * Last updated on: 08/15/96
- \*----------------------------------------------------------------------------*/
-
- //=================================================================================================
- // The following are used in the Windows 95 Registry:
- //
- // Windows 3.x and NT NOTES:
- // COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
- // of SETUP.LOG files (when used).
- //
- // Windows 95 NOTES:
- // COMPANY_NAME = Used in Application Information Key
- // PRODUCT_NAME = Used in Application Information Key, also used in the screen caption,
- // several message boxes, error messages, and the log file.
- // PRODUCT_VERSION = Used in Application Information Key
- // APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key. Use ONLY ONE EXE name, UNLESS
- // the EXEs are all in the same subdirectory. If not in the same subdir
- // then only the first EXE will have an App Paths key, and it must be the
- // same as EXE_FILENAME_1 (below).
- // The Registry can handle more, but InstallShield cannot.
- // DEINSTALL_KEY = Used in the Application Uninstallation Key
- // The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
- // (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
- //
- #define COMPANY_NAME "Sofsource, Inc."
- #define PRODUCT_NAME "Differential Equations"
- #define PRODUCT_VERSION "1.00"
- #define APP_PATHS_KEY_EXENAMES "DIFF.EXE"
- #define DEINSTALL_KEY "Sof911271Ver100DeinstKey"
- // Used as: InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
- // RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
- // DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
-
- // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
- // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
- // long "Webster's Concise Encyclopedia Read Me". If the PRODUCT_NAME is less than about 18 characters
- // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME. In Windows 95, any title
- // longer than 17 characters will appear with ellipses (...).
- // !!! |-----------------| 17 chars max length !!!
- #define EXTRAICONS_APP_NAME "Diff Equations"
- //#define EXTRAICONS_APP_NAME PRODUCT_NAME
-
- //----- Base (Default) Destination Paths:
- #define APPBASE_PATH3X "SOFSRC\\DIFF\\"
- #define APPBASE_PATH95 "Sofsource\\Differential Equations\\"
-
-
- //----- Define the items that MUST match LAUNCHER.PAS:
- // Windows 95. This will typically be "C:\Sofsource" and will always be on the same
- // drive as Windows 95 itself, regardless of the installation target (destination).
- // This also must match the cSectionName in LAUNCHER.PAS.
- // This should be 70-characters max. If longer, you'll need to edit the Perm Setup Log details.
- #define PROGRAM_FOLDER_NAME "Sofsource"
- //#define PROGRAM_FOLDER_NAME "Premier"
- #define APP_UPC_CODE "91127-1"
- // APP_UPC_CODE 30-chars max. If longer, you'll need to edit the Perm Setup Log details.
- #define PRODUCT_ID_FILENAME "ID911271.ID_"
-
-
- //=================================================================================================
- #define NUM_EXES_PRESENT 1
- // Set the above to the number of executable files
- // belonging to the product, FOR WHICH ICONS WILL BE MADE
- // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
- // *** Use "-1" when there is no executable, only a help file ***
-
- //#define NEEDS_HELPFILE_ICON 1
- // Define the above if WINHELP.EXE should execute a HLP file
- // IN ADDITION TO the normal EXE file handling (above).
- // Use this when there is both an executable(s) AND a HLP file.
-
-
- //=================================================================================================
- // Documentation/READ-ME file definitions:
-
- // Define the following if a README file is present
- //#define DOCUMENTATION_PRESENT 1
- #ifdef DOCUMENTATION_PRESENT
- #define DOC_FILE_NAME "???.TXT"
- #define DOC_ICON_NAME '"??? Read Me"'
- #endif
- // NOTE: For Icon Names, single-quotes enclose the double-quotes. This doesn't matter
- // under Windows 95, but is important under Windows 3.x and NT. In the latter cases,
- // without the extra single quotes, you could not use special characters (such as
- // commas or parentheses) in the name. Of course, now you'll need to use an
- // Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
-
- //=================================================================================================
- // Executable and Icon File Definitions:
-
- #ifdef NUM_EXES_PRESENT >= 1
- // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
- // !!! |-----------------| 17 chars max length
- #define PROGICON_NAME_1 '"Diff Equations"'
- #define EXE_FILENAME_1 "DIFF.EXE"
- #define ICON_FILENAME_1 "DIFF.ICO"
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define PROGICON_NAME_2 '""'
- #define EXE_FILENAME_2 ""
- #define ICON_FILENAME_2 ""
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define PROGICON_NAME_3 '""'
- #define EXE_FILENAME_3 ""
- #define ICON_FILENAME_3 ""
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define PROGICON_NAME_4 '""'
- #define EXE_FILENAME_4 ""
- #define ICON_FILENAME_4 ""
- #endif
- #ifdef NUM_EXES_PRESENT = -1
- #define HELP_NAME_1 '"???"'
- #define HLP_FILE_1 "???.HLP"
- #endif
- #ifdef NEEDS_HELPFILE_ICON
- #define HELP_NAME_1 '"??? Help"'
- #define HLP_FILE_1 "???.HLP"
- #endif
-
-
- //=================================================================================================
- // Special Case Involving Running From CD-ROM
-
- #define CDROM_ALWAYS_REQUIRED 1
- // Define the above if the CD-ROM must always be inserted to use the program
-
-
- #define EXE_RUN_FROM_CDROM 1
- // Define the above if the EXE is started from the CD-ROM
-
- #ifdef EXE_RUN_FROM_CDROM
- #ifdef NUM_EXES_PRESENT >= 1
- #define SRC_PATH_1_ON_CDROM "\\DIFF\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define SRC_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define SRC_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define SRC_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #endif
-
-
- #define WORKING_DIR_ON_CDROM 1
- // Define the above if the working directory should be on the CD-ROM
- // otherwise the working directory will be the installation target directory
-
- #ifdef WORKING_DIR_ON_CDROM
- #ifdef NUM_EXES_PRESENT >= 1
- #define WORK_PATH_1_ON_CDROM "\\DIFF\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 2
- #define WORK_PATH_2_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 3
- #define WORK_PATH_3_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #ifdef NUM_EXES_PRESENT >= 4
- #define WORK_PATH_4_ON_CDROM "\\x\\" // Always terminate with a backslash
- #endif
- #endif
-
-
- //=================================================================================================
- //----- SPECIAL-CASE Definitions:
-
- //#define REQUIRES_INI_FILE_ENTRIES 1
- // Define the above if special INI file entries need to be made
-
- //#define REQUIRES_FONT_ENTRY_IN_WININI 1
- // Define the above if this is an old program which will not find it's fonts
- // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
- // Such fonts will still be properly installed in the registry.
-
- // The special-case is on the CD-ROM version only, not the diskette version:
- #ifdef EXE_RUN_FROM_CDROM
- //#define SPECIAL_CASE_TERM_PAPER 1
- // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
- // Also define REQUIRES_INI_FILE_ENTRIES
-
- //#define SPECIAL_CASE_BOOK_REPORT 1
- // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
- // Also define REQUIRES_INI_FILE_ENTRIES
- #endif
-
- //#define SPECIAL_CASE_RESUME 1
- // Define the above if this is Windows Resume
- // Also define REQUIRES_INI_FILE_ENTRIES
-
- //#define SPECIAL_CASE_MM_TRIVIA 1
- // Define the above if this is Multimedia Trivia
-
- //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
- // Define the above if this is Windows Made Easy
-
- //#define SPECIAL_CASE_TYPING_TEACHER 1
- // Define the above if this is Multimedia Typing Teacher
-
- //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
- // Define the above if this is Easy Tutorial for Windows 95
-
- //#define SPECIAL_CASE_OFFICE_SUITE 1
- // Define the above if this is Office Suite
-
- //#define SPECIAL_CASE_3DIT
- // Define the above if this is 3D-It
- // Also define REQUIRES_INI_FILE_ENTRIES
-
- //#define SPECIAL_CASE_WEBSTERS_HME95 1
- // Define the above if this is Webster's Concise Encyclopedia 1995 edition
- // Also define REQUIRES_INI_FILE_ENTRIES
-
-
- //=================================================================================================
- // Requirements definitions:
-
- //----- VIDEO FOR WINDOWS:
- //
- #define REQUIRES_VFW 1
- // Define the above if Video For Windows is required
-
-
- //----- Speaker Driver
- //
- //#define REQUIRES_SPEAKER_DRIVER 1
- // Define the above if the speaker driver should be installed
-
-
- //----- Processor requirements (overridden by VFW):
- #ifdef REQUIRES_VFW
- #define REQUIRES_80386 1
- #else
- //--- CPU REQUIREMENTS:
- //
- #define REQUIRES_80286 1
- //#define REQUIRES_80386 1
- //#define REQUIRES_80486 1
- //#define REQUIRES_PENTIUM 1
- #endif
-
-
- //#define REQUIRES_WINDOWS95 1
- // Define the above if Windows 95 is required.
- // If Windows 95 is required, then define the following if
- // the program will also run under Windows NT and/or Win32s.
- // APP_IS_32BIT should be defined for 32-bit programs (this
- // is intended for future use).
-
- #ifdef REQUIRES_WINDOWS95
- #define OK_WINDOWSNT 1
- //#define OK_WIN32S 1
- //#define APP_IS_32BIT 1
- #endif
-
- // eof CUSTOM.RUL
-